﻿using System;
using System.Windows.Forms;

namespace DMSClient
{
    static class Program
    {

        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            try
            {
                Application.SetCompatibleTextRenderingDefault(false);
                MainMenu main = new MainMenu();
                main.changeStyle(Properties.Settings.Default.Skin);
                main.Invalidate();
                Application.Run(main);
            }
            catch (System.Exception ex)
            {
                System.Windows.Forms.MessageBox.Show(ex.Message);
            }
        }
    }
}
